package org.devon.refactory.demo;
/**
*@see
*@author  Devonmusa
*@date 2017年4月10日
*/
public  class RegularPrice extends Price {
	public int getPriceCode(){
		return Movie.REGULAR;
	}
	public double getCharge(int daysRented) {
		double result = 2;
		if (daysRented > 2) 
			result += (daysRented - 2) * 1.5;
			return result;
	}
}
